package com.yanyu.space.common.core.bean.db;


import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

/**
 * @author yanyu
 */
@Data
@AllArgsConstructor
public class PageEntity<T>{

    @ApiModelProperty("分页总数")
    private Integer total;

    @ApiModelProperty("数据")
    private List<T> rows;
}
